package com.jfdesgagne.traklib.ui.events {
	import flash.events.Event;

	/**
	 * @author jdesgagne
	 */
	public class TrakUIEvent extends Event {
		public static const CALL_FUNCTION_ON_TRACKER:String = "trakuievent_callfunctionontracker";		public static const TRACKING_CHANGED:String = "trakuievent_trackingchanged";		public static const VALUE_CHANGED:String = "trakuievent_valuechanged";
		public static const OPEN:String = "trakuievent_open";		public static const CLOSE:String = "trakuievent_close";
		
		protected var __valueType:String;		protected var __value:int;
		
		public function TrakUIEvent(type : String, _valueType:String="", _value:int=0, bubbles : Boolean = false, cancelable : Boolean = false) {
			super(type, bubbles, cancelable);
			
			this.__valueType = _valueType;			this.__value = _value;
		}
		
		public function get valueType():String {return this.__valueType;}		public function get value():int {return this.__value;}
	}
}
